require 'bundler/setup'
require 'pathname'
require 'csv'
Bundler.require :default
Dir[File.expand_path('../config/*.rb', __FILE__)].each{|f| load(f, true)}

module Mole
  require_relative 'lib/crawler'
  
  @root = Pathname(File.dirname(File.expand_path __FILE__))
  def self.root
    @root
  end
end

Mole::Crawler.new.crawl